TEC\Events\Custom_Tables\V1\Models\Occurrence S

Total Complexity 34
Dependencies 9
Dependents 7
Total lines 409
Lines of code 108
Logical lines of code 59
Comment lines 218
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
get_occurrences()
A
47 7 34
is_last()
S
60 4 13
is_first()
S
60 4 13
save_occurrences()
S
66 2 8
get_event_id_attribute()
S
79 2 3
get_post_id_attribute()
S
79 2 3
get_occurrence_id_attribute()
S
79 2 3
earliest()
S
74 2 4
latest()
S
74 2 4
find_by_post_id()
S
68 2 7
get_updated_at_attribute()
S
72 2 5
normalize_id()
S
75 1 4
get_has_recurrence_attribute()
S
80 1 3
is_valid_occurrence_id()
S
74 1 4